﻿using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Fcdbas.Biz
{
    public class UserQueryProfile
    {
        /// <summary>
        /// 窗体完整类名，跟权限的一致
        /// </summary>
        public string PreObject
        {
            get;
            set;
        }
        public string DataSourceName
        {
            get;
            set;
        }
        public List<UserQueryItem> QueryItems
        {
            get;
            set;
        }
    }
    public class UserQueryItem
    {
        [DisplayName("查询名称")]
        [Description("查询名称")]
        public string QueryName
        {
            get;
            set;
        }
        /// <summary>
        /// 属性和值，用分隔符串起来，跟实体的一样
        /// </summary>
        [Browsable(false)]
        public string AttributeValue
        {
            get;
            set;
        }
        [Browsable(false)]
        public string Where
        {
            get;
            set;
        }
        [Browsable(false)]
        public string Orderby
        {
            get;
            set;
        }
    }
}
